import http from '@/utils/http'
// 实例
/**
 * 获取邻家小达token
 */
export const getLjxdToken = () => {
    return http({
        url: "/prod-api/auth/oauth/token?type=1&grant_type=password&username=18875884258:WEB&password=1234qwer",
        method: "POST",
        isLjxd: true,
    })
}

//
export const login = (data) => {
    return http({
        url: '/v2/console/User/login',
        method: 'POST',
        data
    })
}